<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
    var sss=''
        for (var i = 5; i >= 0; i--) {
           // var str = '';
          
            for (var j = 5; j >= 0; j--) {
                sss=sss+j;
            }
            sss=sss+"\n"
         
        } console.log(sss);
    </script>
</head>

<body>

</body>

</html>